<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>注册用户</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<p align="center">
		<form action="registerServlet" method="post">
			<table>
				<center>
					用户注册
				</center>
				<tr>
					<td>
						用户名：
					</td>
					<td>
						<input type="text" maxlength="20" name="username" />
					</td>
				</tr>
				<tr>
					<td>
						密 码：
					</td>
					<td>
						<input type="password" maxlength="20" id="password"
							name="password" />
					</td>
				</tr>
					<tr>
					<td>
						请再次输入密码：
					</td>
					<td>
						<input type="password" maxlength="20" id="password2"
							name="password2" />
					</td>
				</tr>
				<tr>
					<td>
						年 龄：
					</td>
					<td>
						<input type="text" maxlength="20" id="age" name="age" />
					</td>
				</tr>
				<tr>
					<td>
						手机号码：
					</td>
					<td>
						<input type="text" maxlength="20" id="cellphone" name="cellphone" />
					</td>
				</tr>
				<tr>
					<td>
						Email：
					</td>
					<td>
						<input type="text" maxlength="20" id="email" name="email" />
					</td>
				</tr>
			</table>
			<input type="submit" value="注册" />
			<input type="reset" value="重置" />
		</form>
		</p>
	</body>
</html>
